package com.lugea.common.context;

/**
 * @author enluw
 * @date 2020/1/25
 * @description
 */
public class ApiRequestContext {
    private static ThreadLocal<ApiRequestContext> apiRequestContext = new ThreadLocal<ApiRequestContext>() {
        @Override
        protected ApiRequestContext initialValue() {
            return null;
        }
    };

    public static ApiRequestContext get() {
        return apiRequestContext.get();
    }

    public static void remove() {
        apiRequestContext.remove();
    }

}
